package com.zlp.mybatisplus.mybatisplus.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 门店表
 * </p>
 *
 * @author zhulaiping
 * @since 2022-01-25
 */
@TableName("bcrm_shop")
public class Shop extends Model<Shop> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 省id
     */
    @TableField("region_provice_id")
    private Integer regionProviceId;

    /**
     * 城市id
     */
    @TableField("region_city_id")
    private Integer regionCityId;

    /**
     * 县id
     */
    @TableField("region_county_id")
    private Integer regionCountyId;

    /**
     * 省
     */
    @TableField("region_provice_name")
    private String regionProviceName;

    /**
     * 市
     */
    @TableField("region_city_name")
    private String regionCityName;

    /**
     * 区
     */
    @TableField("region_county_name")
    private String regionCountyName;

    /**
     * 门店编码
     */
    private String code;

    /**
     * 门店名称
     */
    private String name;

    /**
     * 联系人
     */
    private String contacts;

    /**
     * 电话
     */
    private String telephone;

    /**
     * 地址
     */
    private String address;

    /**
     * 营业执照地址
     */
    @TableField("business_license_url")
    private String businessLicenseUrl;

    /**
     * 所属bu编码
     */
    @TableField("bu_code")
    private String buCode;

    /**
     * 创建时间
     */
    @TableField("create_at")
    private Date createAt;

    /**
     * 修改时间
     */
    @TableField("update_at")
    private Date updateAt;

    /**
     * 删除时间
     */
    @TableField("delete_at")
    private Date deleteAt;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public Integer getRegionProviceId() {
        return regionProviceId;
    }

    public void setRegionProviceId(Integer regionProviceId) {
        this.regionProviceId = regionProviceId;
    }
    public Integer getRegionCityId() {
        return regionCityId;
    }

    public void setRegionCityId(Integer regionCityId) {
        this.regionCityId = regionCityId;
    }
    public Integer getRegionCountyId() {
        return regionCountyId;
    }

    public void setRegionCountyId(Integer regionCountyId) {
        this.regionCountyId = regionCountyId;
    }
    public String getRegionProviceName() {
        return regionProviceName;
    }

    public void setRegionProviceName(String regionProviceName) {
        this.regionProviceName = regionProviceName;
    }
    public String getRegionCityName() {
        return regionCityName;
    }

    public void setRegionCityName(String regionCityName) {
        this.regionCityName = regionCityName;
    }
    public String getRegionCountyName() {
        return regionCountyName;
    }

    public void setRegionCountyName(String regionCountyName) {
        this.regionCountyName = regionCountyName;
    }
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }
    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    public String getBusinessLicenseUrl() {
        return businessLicenseUrl;
    }

    public void setBusinessLicenseUrl(String businessLicenseUrl) {
        this.businessLicenseUrl = businessLicenseUrl;
    }
    public String getBuCode() {
        return buCode;
    }

    public void setBuCode(String buCode) {
        this.buCode = buCode;
    }
    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }
    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }
    public Date getDeleteAt() {
        return deleteAt;
    }

    public void setDeleteAt(Date deleteAt) {
        this.deleteAt = deleteAt;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Shop{" +
        "id=" + id +
        ", regionProviceId=" + regionProviceId +
        ", regionCityId=" + regionCityId +
        ", regionCountyId=" + regionCountyId +
        ", regionProviceName=" + regionProviceName +
        ", regionCityName=" + regionCityName +
        ", regionCountyName=" + regionCountyName +
        ", code=" + code +
        ", name=" + name +
        ", contacts=" + contacts +
        ", telephone=" + telephone +
        ", address=" + address +
        ", businessLicenseUrl=" + businessLicenseUrl +
        ", buCode=" + buCode +
        ", createAt=" + createAt +
        ", updateAt=" + updateAt +
        ", deleteAt=" + deleteAt +
        "}";
    }
}
